package org.book.service;

import org.book.dao.AdminBean;
import org.book.dao.AdminDao;
import org.book.dao.AdminDaoImp;

public class LoginService {
	
	private AdminDao dao = new AdminDaoImp();

	public boolean loginTest(AdminBean admin) {
		return dao.loginTest(admin);
	}
	
	public boolean registTest(AdminBean admin) {
		return dao.registTest(admin);
	}
}
